﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="student_password.aspx.cs" Inherits="score_m.student_password" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>修改密码</title>
    <link rel="stylesheet" href="resource/css/base.css" />
    <style>
        .cont {
            width: 100%;
            height: 100%;
            padding: 10px;
        }

        .form-group {
            margin-bottom: 15px;
            display: flex;
            flex-flow: row;
            justify-content: flex-start;
            align-items: center;
        }

            .form-group > span {
                width: 100px;
                text-align: right;
                margin-right: 10px;
            }

            .form-group > div {
                flex: 1;
            }

                .form-group > div > input {
                    width: 100%;
                    height: 30px;
                    border: 1px solid var(--base_border_color);
                    border-radius: var(--base_radius);
                    padding: 0 10px;
                }

        .submit-item {
            margin-top: 20px;
            display: flex;
            justify-content: center;
        }

        .error-msg {
            margin-bottom: 10px;
            font-size: 14px;
            text-align: center;
            width: 100%;
            color: red;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="cont">
            <div class="msg">
                <div class="msg-title">修改密码</div>
                <div class="msg-cont">
                    <asp:Label ID="errorMsg" runat="server" Visible="False" CssClass="error-msg"></asp:Label>
                    <div class="form-group">
                        <span>原密码:</span>
                        <div>
                            <asp:TextBox ID="oldPasswordInput" runat="server" TextMode="Password"></asp:TextBox>
                        </div>
                    </div>
                    <div class="form-group">
                        <span>新密码:</span>
                        <div>
                            <asp:TextBox ID="newPasswordInput" runat="server" TextMode="Password"></asp:TextBox>
                        </div>
                    </div>
                    <div class="form-group">
                        <span>确认密码:</span>
                        <div>
                            <asp:TextBox ID="confirmPasswordInput" runat="server" TextMode="Password"></asp:TextBox>
                        </div>
                    </div>
                    <div class="form-group submit-item">
                        <asp:Button ID="submitBt" runat="server" Text="修改" OnClick="submitBt_Click" CssClass="primary-button" />
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
